/**
 * 
 */
package com.mvc.model.healthmanager.archive;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.mvc.model.base.IdEntity;

/**
 * 上传文件实体类
 * @author qingjie
 *
 */
@Entity
@Table(name="yh_file_info")
@DynamicInsert(true)
@DynamicUpdate(true)
public class FileInfo extends IdEntity implements Serializable{
	
	private static final long serialVersionUID = -53865287387816302L;
	
	private String tName;//关联表名
	private String tId;//关联表id
	private String filename;//文件名称
	private String newFilename;//新的文件名
	private String size;//文件大小（k）
	private String suffix;//文件后缀名
	private String path;//文件存储路径
	public String gettName() {
		return tName;
	}
	public String gettId() {
		return tId;
	}
	public String getFilename() {
		return filename;
	}
	public String getNewFilename() {
		return newFilename;
	}
	public String getSize() {
		return size;
	}
	public String getSuffix() {
		return suffix;
	}
	public String getPath() {
		return path;
	}
	public void settName(String tName) {
		this.tName = tName;
	}
	public void settId(String tId) {
		this.tId = tId;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public void setNewFilename(String newFilename) {
		this.newFilename = newFilename;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}
	public void setPath(String path) {
		this.path = path;
	}
	
	
}
